package com.nimitz.modules.approval.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nimitz.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import java.time.LocalDateTime;

/**
 * @ClassName ApprovalNodeReview
 * @Author FuCun
 * @Date 2021-08-17-14:45
 * @PackageName com.nimitz.modules.approval.domain
 * @Description 审批意见表
 * @Version 1.0.0
 */

@TableName("approval_node_review")
@ApiModel(value="ApprovalNodeReview对象", description="审批意见表")
public class ApprovalNodeReview extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 意见id
     */
    @ApiModelProperty(value = "意见id")
    @TableId(value = "review_id", type = IdType.AUTO)
    private Long reviewId;

    /**
     * 实例编号
     */
    @ApiModelProperty(value = "实例编号")
    private Long instanceId;

    /**
     * 审批节点id
     */
    @ApiModelProperty(value = "审批节点id")
    private Long procedureNodeId;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 审批意见
     */
    @ApiModelProperty(value = "审批意见")
    private String reviewInfo;

    /**
     * 审批时间
     */
    @ApiModelProperty(value = "审批时间")
    private LocalDateTime reviewDate;

    /**
     * 删除状态码（0：显示、2：删除）
     */
    @ApiModelProperty(value = "删除状态码（0：显示、2：删除）")
    private String delFlag;



    public Long getReviewId() {
        return reviewId;
    }

    public void setReviewId(Long reviewId) {
        this.reviewId = reviewId;
    }
    public Long getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(Long instanceId) {
        this.instanceId = instanceId;
    }
    public Long getProcedureNodeId() {
        return procedureNodeId;
    }

    public void setProcedureNodeId(Long procedureNodeId) {
        this.procedureNodeId = procedureNodeId;
    }
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public String getReviewInfo() {
        return reviewInfo;
    }

    public void setReviewInfo(String reviewInfo) {
        this.reviewInfo = reviewInfo;
    }
    public LocalDateTime getReviewDate() {
        return reviewDate;
    }

    public void setReviewDate(LocalDateTime reviewDate) {
        this.reviewDate = reviewDate;
    }
    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }


    @Override
    public String toString() {
        return "ApprovalNodeReview{" +
            "reviewId=" + reviewId +
            ", instanceId=" + instanceId +
            ", procedureNodeId=" + procedureNodeId +
            ", userId=" + userId +
            ", reviewInfo=" + reviewInfo +
            ", reviewDate=" + reviewDate +
            ", delFlag=" + delFlag +
        "}";
    }
}
